package com.freejy.ecommunity.web.dto.request;

import org.hibernate.validator.constraints.NotBlank;

public class RegisterReqDto {

    @NotBlank
    private String account;

    @NotBlank
    private String password;


    public String getAccount() {
        return account.trim();
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password.toLowerCase();
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
